package com.wqr.it.ecwdr.vo;

import java.math.BigDecimal;

/**
 * @author adinos
 *
 */
public class ProductSimpleVO extends ProductItemVO {
	private static final long serialVersionUID = -834524368595469535L;
	private BigDecimal beforeDiscount;
	private String isBrand = "N";
	private String category;
	private String saller;
	private String tag;
	private String isFreeShipping = "N";
	/**
	 * @return the beforeDiscount
	 */
	public BigDecimal getBeforeDiscount() {
		return beforeDiscount;
	}
	/**
	 * @param beforeDiscount the beforeDiscount to set
	 */
	public void setBeforeDiscount(BigDecimal beforeDiscount) {
		this.beforeDiscount = beforeDiscount;
	}
	/**
	 * @return the isBrand
	 */
	public String getIsBrand() {
		return isBrand;
	}
	/**
	 * @param isBrand the isBrand to set
	 */
	public void setIsBrand(String isBrand) {
		this.isBrand = isBrand;
	}
	/**
	 * @return the category
	 */
	public String getCategory() {
		return category;
	}
	/**
	 * @param category the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}
	/**
	 * @return the saller
	 */
	public String getSaller() {
		return saller;
	}
	/**
	 * @param saller the saller to set
	 */
	public void setSaller(String saller) {
		this.saller = saller;
	}
	/**
	 * @return the tag
	 */
	public String getTag() {
		return tag;
	}
	/**
	 * @param tag the tag to set
	 */
	public void setTag(String tag) {
		this.tag = tag;
	}
	/**
	 * @return the isFreeShipping
	 */
	public String getIsFreeShipping() {
		return isFreeShipping;
	}
	/**
	 * @param isFreeShipping the isFreeShipping to set
	 */
	public void setIsFreeShipping(String isFreeShipping) {
		this.isFreeShipping = isFreeShipping;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "ProductSimpleVO [id=" + getId() + ", "
				+ (getNumber() != null ? "number=" + getNumber() + ", " : "")
				+ (getName() != null ? "name=" + getName() + ", " : "")
				+ (getDescription() != null ? "description=" + getDescription() + ", " : "")
				+ (getRemark() != null ? "rmark=" + getRemark() + ", " : "") + "modId=" + getModId() + ", "
				+ (getPrice() != null ? "price=" + getPrice() + ", " : "")
				+ (beforeDiscount != null ? "beforeDiscount=" + beforeDiscount + ", " : "")
				+ (isBrand != null ? "isBrand=" + isBrand + ", " : "")
				+ (category != null ? "category=" + category + ", " : "")
				+ (saller != null ? "saller=" + saller + ", " : "") 
				+ (tag != null ? "tag=" + tag : "") 
				+ (isFreeShipping != null ? "isFreeShipping=" + isFreeShipping : "")
				+ "]";
	}
}
